import QtQuick 2.0
import Quick.SystemComponent.FontLoader 0.1
import  Quick.UIComponent.Text.Normal  0.1

Item {
    id: sysTime
    property alias textColor: timer.textColor
    property alias pxSize: timer.pxSize
    Timer {
        interval: 1000; running: true; repeat: true
        onTriggered: timer.text = Qt.formatDateTime(new Date(), "\t yyyy-MM-dd \n \t  hh:mm:ss")
    }
    MText {
        id: timer
        anchors.centerIn: parent
        pxSize: 24
        fontFamily: Family.lcd.name
    }
}









/*##^## Designer {
    D{i:0;autoSize:true;height:480;width:640}
}
 ##^##*/
